package com.carp.shard.plugin.constant;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author lile
 * @since 2024/6/19
 */
@Getter
@RequiredArgsConstructor
public enum WriteType {
    /**
     * 只写旧表
     */
    OLD(0),
    /**
     * 只写新表
     */
    NEW(1),
    /**
     * 双写
     */
    BOTH(2);

    private final int key;
}